package com.sales.service.data.transaction.notifier;

import java.util.ArrayList;

/**
 * This is the interface used a notifier to notify the Activity which interacts the user
 * and which creates the thread request.
 * 
 * @author Sega
 *
 */
public interface UINotifier {

	/**
	 * this method is used to send the data form the child thread to the main thread.
	 * 
	 * @param results
	 */
	public void onSuccess(ArrayList<Object> results);
	
	/**
	 * this method is used to convey the failure of the thread.
	 * 
	 */
	public void onError();
	
}
